package com.hftang.tt;

import org.junit.Test;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author hftang
 * @date 2019-11-02 17:05
 * @desc
 */
public class BcryptPassWord {
    @Test
    public void test01(){

        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        CharSequence str="123123";
        String encode = bCryptPasswordEncoder.encode(str);
        System.out.println(encode);

    }
}
